package cn.gson.crmdemo.model.dao;


import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

import com.alibaba.fastjson.JSONArray;

import cn.gson.crmdemo.model.pojo.Emp;


@Repository
public interface EmpDao extends CrudRepository<Emp, Integer>{

	@Query("select e from Emp e")
	public JSONArray selectEmp();
}